using System.Collections.Generic;
using LB.Common;

namespace LB.Server.Core
{
    public interface IServerManager
    {
        List<Book> GetBoks(int userId);
        List<Book> GetSharedBoks();
        Book GetBookById(int bookId);
        List<Book> GetbookByAuthorId(int authorId);
        Book AddBook(Book newBook);
        Chapter AddChapter(Chapter chapter);
        List<Chapter> GetChapters(int bookId);
    }
}